package com.xdk.templatescala.common.enums;

/**
 * @author: guozc
 * @date: 2021-07-29
 */
public enum ControlTypeEnum {
    TEXT(2,"文本","",0,0,"常用组件",""),

    NUM(6,"数值","",1,0,"常用组件",""),

    DATE(15,"日期","",2,0,"常用组件",""),

    DATETIME(16,"日期","",2,1,"常用组件",""),

    PHONE(3,"手机","",3,0,"常用组件",""),

    RADIO(11,"单选","",4,0,"常用组件",""),

    CHOICE(10,"多选","",5,0,"常用组件",""),

    AREA(24,"地区","",6,0,"常用组件",""),

    MEMBERID (26,"成员","",1,  1,"常用组件",""),

    RELATION_RECORD(29,"关联记录","", 0,0,"关联",""),

    OTHER_TABLE(30,"他表字段","", 1,0,"关联",""),

    ;
    ControlTypeEnum(Integer value,String name, String icon,Integer index,Integer hide,String group, String desc) {
        this.value = value;
        this.name = name;
        this.icon = icon;
        this.index = index;
        this.hide = hide;
        this.group = group;
        this.desc = desc;
    }
    private Integer value;
    private String name;
    private String group;
    private String icon;
    private Integer index;
    private Integer hide;
    private String desc;

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

    public String getGroup() {
        return group;
    }

    public String getIcon() {
        return icon;
    }

    public Integer getIndex() {
        return index;
    }

    public Integer getHide() {
        return hide;
    }

    public String getDesc() {
        return desc;
    }
}
